<?php
/**
 *
 * @authors  Ysg (y.shi.guo@gmail.com)
 * @website  http://ysg.bonza.cn
 * @date     2017-08-10 11:51:48
 */

function config($file=''){
	$conf = [];
	if (empty($file)) {
		$conf = require '../config/config.php';
	}else{
		$conf = require $file;//文件路径必须是完整路径
	}
	return $conf;
}
